Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the log when failing to get hadoop fs delegation token #2222

Closed
wants to merge 3 commits into from

Conversation

turboFei
Copy link
Member

@turboFei turboFei commented Mar 26, 2022

Why are the changes needed?

Refactor the log when failing to get hadoop fs delegation token

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

@turboFei
Copy link
Member Author

also cc @zhouyifan279

@turboFei turboFei changed the title For HadoopFsDelegationTokenProvider, throw exception if met at last Refactor the log when failing to get hadoop fs delegation token Mar 26, 2022
@codecov-commenter
Copy link

codecov-commenter commented Mar 26, 2022

Codecov Report

Merging #2222 (3f5c61a) into master (86cd685) will decrease coverage by 0.00%.
The diff coverage is 87.50%.

@@             Coverage Diff              @@
##             master    #2222      +/-   ##
============================================
- Coverage     61.80%   61.80%   -0.01%     
  Complexity       69       69              
============================================
  Files           331      331              
  Lines         16016    16021       +5     
  Branches       2031     2031              
============================================
+ Hits           9899     9901       +2     
- Misses         5295     5297       +2     
- Partials        822      823       +1     
Impacted Files Coverage Δ
.../credentials/HadoopFsDelegationTokenProvider.scala 95.00% <87.50%> (-2.30%) ⬇️
...rg/apache/kyuubi/engine/trino/TrinoStatement.scala 67.46% <0.00%> (-2.41%) ⬇️
...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala 85.59% <0.00%> (+0.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86cd685...3f5c61a. Read the comment docs.

@turboFei turboFei requested a review from pan3793 March 27, 2022 07:34
@turboFei
Copy link
Member Author

thanks, merging to master

@turboFei turboFei closed this in a5b4c1b Mar 27, 2022
@zhouyifan279
Copy link
Contributor

Sorry for late reply. LGTM.

@yaooqinn yaooqinn added this to the v1.6.0 milestone Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants